from scipy.ndimage import gaussian_filter
import numpy as np

# 创建图像
image = np.random.rand(100, 100)

# 应用高斯滤波
filtered_image = gaussian_filter(image, sigma=1)